package com.qf.talk.client;

import com.qf.base.dto.push.MessageDTO;
import com.qf.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 30909
 */
@FeignClient(value = "push-service")
public interface PushClient {


    /**
     * 人脸识别的子服务
     * @param messageDTO  推送消息的DTO
     * @return    推送结果
     */
    @PostMapping("qf/push/web")
    R sendWeb(@RequestBody MessageDTO messageDTO);
}
